package com.store.webstore.dao;

import com.store.webstore.entity.Category;
import com.store.webstore.entity.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategoryMapper {
    int deleteByPrimaryKey(String cid);

    int insert(Category record);

    int insertSelective(Category record);

    Category selectByPrimaryKey(String cid);

    int updateByPrimaryKeySelective(Category record);

    int updateByPrimaryKey(Category record);

    List<Category> selectList();

}